package com.scau.clothes.dao;

import com.scau.clothes.pojo.ClothesStock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ClothesStockDao {
    void addStock(ClothesStock cs);
    ClothesStock getClothesStockByClothesId(int id);
    void updateStockByClothesId(@Param("clothesId") int clothesId, @Param("num") int num);
}
